import { FormInstance } from 'element-plus';

/*
  Global form field reset function
*/

export const resetForm = (formEl: FormInstance | undefined): void => { 
  if (!formEl) {
    return
  }
  formEl.resetFields()
}
